package com.zeroone.star.project.dto.systemhome;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @BelongsProject: oa-java
 * @BelongsPackage: com.zeroone.star.project.dto.systemhome
 * @Author: dashuai
 * @CreateTime: 2024-11-17  20:03
 * @Description: 消息传输对象
 * @Version: 1.0
 */
@ApiModel(description = "消息传输对象")
@Data
public class MessageDTO {
    @ApiModelProperty(value = "消息主题", example = "考研方案")
    private String xtitle;

    @ApiModelProperty(value = "创建时间", example = "2024-11-17")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime xcreateTime;
}
